class AnimLoop_Right1 : public AnimLoop
{
  public:
  AnimLoop_Right1()
  {
    strcpy(name, "Right1");
    _iSteps = 1;
    _steps[0] = AnimLoopStep(250, _POSITION_CURRENT, _POSITION_RIGHT);
  }
};

class AnimLoop_Hello1 : public AnimLoop
{
  public:
  AnimLoop_Hello1()
  {
    strcpy(name, "Hello1");
    _iSteps = 2;
    _steps[0] = AnimLoopStep(750, _POSITION_CURRENT, _POSITION_HELLO1);
    _steps[1] = AnimLoopStep(750, _POSITION_CURRENT, _POSITION_HELLO2);
  }
};

class AnimLoop_Hulk1 : public AnimLoop
{
  public:
  AnimLoop_Hulk1()
  {
    strcpy(name, "Hulk1");
    _iSteps = 6;
    _steps[0] = AnimLoopStep(1500, _POSITION_CURRENT, _POSITION_STAND);
    _steps[1] = AnimLoopStep(750, _POSITION_CURRENT, _POSITION_WAITFOR);
    _steps[2] = AnimLoopStep(250, _POSITION_CURRENT, _POSITION_HULK);
    _steps[3] = AnimLoopStep(1500, _POSITION_CURRENT, _POSITION_HULK);
    _steps[4] = AnimLoopStep(250, _POSITION_CURRENT, _POSITION_WAITFOR);
    _steps[5] = AnimLoopStep(250, _POSITION_CURRENT, _POSITION_STAND);
  }
};

class AnimLoop_Pump1 : public AnimLoop
{
  public:
  AnimLoop_Pump1()
  {
    strcpy(name, "Pump1");
    _iSteps = 3;
    _steps[0] = AnimLoopStep(1500, _POSITION_CURRENT, _POSITION_PUMP0);
    _steps[1] = AnimLoopStep(750, _POSITION_CURRENT, _POSITION_PUMP1);
    _steps[2] = AnimLoopStep(750, _POSITION_CURRENT, _POSITION_PUMP0);
  }
};

class AnimLoop_SemiPump1 : public AnimLoop
{
  public:
  AnimLoop_SemiPump1()
  {
    strcpy(name, "SemiPump1");
    _iSteps = 3;
    _steps[0] = AnimLoopStep(1500, _POSITION_CURRENT, _POSITION_SEMIPUMP0);
    _steps[1] = AnimLoopStep(750, _POSITION_CURRENT, _POSITION_SEMIPUMP1);
    _steps[2] = AnimLoopStep(750, _POSITION_CURRENT, _POSITION_SEMIPUMP0);
  }
};

void init_loops()
{
  loops[0] = AnimLoop_Right1();
  loops[1] = AnimLoop_Hello1();
  loops[2] = AnimLoop_Hulk1();
  loops[3] = AnimLoop_Pump1();
  loops[4] = AnimLoop_SemiPump1();  
}

